<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>File Source for errors.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
											</head>
		<body>
						<h1>Source for file errors.php</h1>
<p>Documentation is available at <a href="../default/_ays_application_view_errors_php.html">errors.php</a></p>
<div class="src-code">
<pre><ol><li><a name="a1"></a>&lt;div id=&quot;content&quot;&gt;</li>
<li><a name="a2"></a>    &lt;h2&gt;Erreur&lt;/h2&gt;</li>
<li><a name="a3"></a>    &lt;p&gt;<span class="src-php">&lt;?php </span>echo <span class="src-var">$sMessage </span><span class="src-php">?&gt;</span>&lt;/p&gt;</li>
<li><a name="a4"></a>    &lt;p&gt;&lt;a href=&quot;index.php&quot;&gt;Aller à l'accueil d'&lt;em&gt;AYS&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;</li>
<li><a name="a5"></a>    <span class="src-php">&lt;?php</span></li>
<li><a name="a6"></a>    try<span class="src-sym">{</span></li>
<li><a name="a7"></a>        <span class="src-var">$oMysqliInstance </span>= <span class="src-key">new </span><span class="src-id"><a href="../default/AYSMysqli.html">AYSMysqli</a></span><span class="src-sym">(</span><span class="src-id"><a href="../default/_ays_config_config_php.html#defineBDD_HOST">BDD_HOST</a></span><span class="src-sym">, </span><span class="src-id"><a href="../default/_ays_config_config_php.html#defineBDD_USER">BDD_USER</a></span><span class="src-sym">, </span><span class="src-id"><a href="../default/_ays_config_config_php.html#defineBDD_PASS">BDD_PASS</a></span><span class="src-sym">, </span><span class="src-id"><a href="../default/_ays_config_config_php.html#defineBDD_DATABASE">BDD_DATABASE</a></span><span class="src-sym">)</span><span class="src-sym">;</span></li>
<li><a name="a8"></a>        <span class="src-var">$result </span>= <span class="src-var">$oMysqliInstance</span><span class="src-sym">-&gt;</span><span class="src-id">query</span><span class="src-sym">(</span><span class="src-str">'SELECT * FROM ays_log ORDER BY id DESC LIMIT 0,1'</span><span class="src-sym">)</span><span class="src-sym">;</span></li>
<li><a name="a9"></a>        <span class="src-var">$result </span>= <span class="src-var">$result</span><span class="src-sym">-&gt;</span><span class="src-id">fetch_assoc</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></li>
<li><a name="a10"></a>        <a href="../default/_ays_application_function_displayContentArray_php.html#functiondisplayContentArray">displayContentArray</a><span class="src-sym">(</span></li>
<li><a name="a11"></a>            <span class="src-str">'test log'</span><span class="src-sym">,</span></li>
<li><a name="a12"></a>            <span class="src-key">array</span><span class="src-sym">(</span></li>
<li><a name="a13"></a>                <span class="src-str">'date' </span>=&gt; <span class="src-var">$result</span><span class="src-sym">[</span><span class="src-str">'date'</span><span class="src-sym">]</span><span class="src-sym">,</span></li>
<li><a name="a14"></a>                <span class="src-str">'type' </span>=&gt; <span class="src-var">$result</span><span class="src-sym">[</span><span class="src-str">'type'</span><span class="src-sym">]</span><span class="src-sym">,</span></li>
<li><a name="a15"></a>                <a href="http://www.php.net/unserialize">unserialize</a><span class="src-sym">(</span><span class="src-var">$result</span><span class="src-sym">[</span><span class="src-str">'text'</span><span class="src-sym">]</span><span class="src-sym">)</span><span class="src-sym">,</span></li>
<li><a name="a16"></a>            <span class="src-sym">)</span></li>
<li><a name="a17"></a>        <span class="src-sym">)</span><span class="src-sym">;</span></li>
<li><a name="a18"></a>    <span class="src-sym">}</span>catch<span class="src-sym">(</span><span class="src-id"><a href="../default/MysqliExecutionException.html">MysqliExecutionException</a> </span><span class="src-var">$oException</span><span class="src-sym">)</span><span class="src-sym">{</span></li>
<li><a name="a19"></a>&nbsp;</li>
<li><a name="a20"></a>    <span class="src-sym">}</span></li>
<li><a name="a21"></a>    <span class="src-php">?&gt;</span></li>
<li><a name="a22"></a>&lt;/div&gt;</li>
</ol></pre>
</div>
	<p class="notes" id="credit">
		Documentation generated on Sun, 30 Mar 2008 00:13:48 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</body>
</html>